objectName
to every object you want to use from Lisp.
*.ui
file using qload-ui
(which will return the main widget of the UI).
qfind-child
.
For an example, see examples/3-main-window.lisp
.
If you want to translate your UI files to the corresponding EQL code, do the following at the command line:
eql5 -quic file.ui
ui-file.lisp
. See also function quic
.
If you want to use widgets from modules, make sure the modules are available when you use -quic
(they will then be loaded automatically).
For a quick test of the generated file, try this:
eql5 ui-file.lisp
EQL-USER> (ui:ini t)
(This will only work if you don't use widgets from modules; otherwise you need to load the modules first, using qrequire
.)